package member

import "time"

type MemberDingtalkStruct struct {
	Id             int       `json:"id" gorm:"type:int(11) auto_increment; NOT NULL; primary_key"`
	Corpid         string    `json:"corpid" gorm:"type:varchar(50); COMMENT:'组织架构id'"`
	DepartmentId   string    `json:"department_id" gorm:"type:varchar(20); DEFAULT:''"`
	DepartmentName string    `json:"department_name" gorm:"type:varchar(50); COMMENT:'部门'"`
	Userid         string    `json:"userid" gorm:"type:varchar(20); COMMENT:'用户id'"`
	FromUserid     string    `json:"from_userid" gorm:"type:varchar(32); COMMENT:'添加人ding user id'"`
	Position       string    `json:"position" gorm:"type:varchar(50); COMMENT:'职位'"`
	CreatedAt      time.Time `json:"created_at" gorm:"type:datetime"`
	UpdatedAt      time.Time `json:"updated_at" gorm:"type:datetime"`
}

// 车牌号
func (c *MemberDingtalkStruct) TableName() string {
	return "member_dingtalk"
}
